from vnpy.trader.Rest import restshop
import time
REST=restshop()
REST.create_connection('OKEX')
require={'channel':'OKEX_FUTURE_TICKER','symbol':'btc_usd','contractType':'this_week'}
REST.send(require)
REST.run_forever()